

<?

include("../config/config.php");
$id=$_POST[id];
$price=$_POST[price];
$lerel=$_POST[lerel];
$country=$_POST[country];
$brand=$_POST[brand];
$countrue=$_POST[countrue];
$result=mysqli_query($mysqli,"update  shuaijin set price='$price'	,lerel='$lerel'	
	,country='$country'	,brand='$brand'
	,countrue='$countrue'
 where id=$id");

if($result==true){
	echo "<script>	alert(\"修改成功\");	</script>"; 
    header("location:/app/updata_up.php");
}

else{
	echo "<script>	alert(\"修改失败\");	</script>"; 

}


?>
